import type { DishDTO } from "@/views/dish/list/types"
import type { OrderItemDTO } from "@/views/order/management/types"

interface TaskDTO {
  taskId: string
  orderId: string
  tableId: string
  dishes: Array<OrderItemDTO & {
    status: '待制作' | '制作中' | '已完成'
    startTime?: string
    finishTime?: string
  }>
  taskStatus: '待处理' | '处理中' | '已完成'
  createTime: string
  updateTime?: string
}

export type { TaskDTO }